package com.djt.book_system.dao;

import com.djt.book_system.entity.index;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

@Repository
@Mapper
public interface IndexDao {
    /**
     * 首页四条数据
     *
     * @return
     */
    index indexData();

    /**
     * 统计图每日借阅数量
     *
     * @return
     */
    int dateBorrows(int date);
}
